﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NSR.Model;
using Windows.UI.Xaml.Media.Imaging;

namespace NSR.HD
{
    public class DataAccess
    {
        public static List<Model.ArticleInfo> GetHistoryCovers()
        {
            var list=new List<ArticleInfo>();
            for (var i = 1; i < 10; i++)
            {
                var model =new ArticleInfo
                               {
                                   ArticleID = i,
                                   ArticleName = string.Format("小说名称{0}", i),
                                   Author = string.Format("小说作者{0}", i),
                                   //CoverLink = string.Format("Cover/{0}.jpg",i)
                                   //Cover = new BitmapImage(new Uri(new Uri("ms-appx:///"), string.Format("/Cover/{0}.jpg",i)))
                               };
                list.Add(model);
            }
            return list;
        }
    }
}
